package org.jeecg.modules.operations.assistant.work.vo;

import java.util.List;

import org.jeecg.modules.operations.assistant.work.entity.*;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 工单信息
 * @Author: jeecg-boot
 * @Date:   2024-01-07
 * @Version: V1.0
 */
@Data
@ApiModel(value="work_orderPage对象", description="工单信息")
public class WorkOrderPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private java.lang.String id;

	/**提交时间*/
	@Excel(name = "报修时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "提交时间")
    private java.util.Date createTime;
	/**车牌号*/
	@Excel(name = "车牌号", width = 15)
	@ApiModelProperty(value = "车牌号")
	private java.lang.String licensePlate;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
	@ApiModelProperty(value = "客户名称")
	private java.lang.String customerName;
	/**故障类型*/
	@Excel(name = "故障类型", width = 15, dicCode = "faultType")
	@Dict(dicCode = "faultType")
	@ApiModelProperty(value = "故障类型")
	private java.lang.String faultType;
	/**工单描述*/
	@Excel(name = "故障描述", width = 15)
	@ApiModelProperty(value = "工单描述")
	private java.lang.String description;

	/**服务人员*/
	@Excel(name = "服务人员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@ApiModelProperty(value = "服务人员")
	private java.lang.String serviceStaff;
	/**工单状态*/
	@Excel(name = "工单状态", width = 15, dicCode = "workOrderStatus")
	@Dict(dicCode = "workOrderStatus")
	@ApiModelProperty(value = "工单状态")
	private java.lang.Integer workOrderStatus;
	/**联系人*/
	@Excel(name = "联系人", width = 15)
	@ApiModelProperty(value = "联系人")
	private java.lang.String contacts;
	/**联系电话*/
	@Excel(name = "联系电话", width = 15)
	@ApiModelProperty(value = "联系电话")
	private java.lang.String telephone;
	/**接单时间*/
	@Excel(name = "接单时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "接单时间")
	private java.util.Date orderAcceptanceTime;
	/**预约时间*/
	@Excel(name = "预约时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "预约时间")
	private java.util.Date appointmentTime;
	/**预约结果*/
	@Excel(name = "预约结果", width = 15)
	@ApiModelProperty(value = "预约结果")
	private java.lang.String appointmentResults;
	/**详细地址*/
	@Excel(name = "详细地址", width = 15)
	@ApiModelProperty(value = "详细地址")
	private java.lang.String address;
	/**回执时间*/
	@Excel(name = "回执时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "回执时间")
	private java.util.Date receiptTime;
	/**回执内容*/
	@Excel(name = "回执内容", width = 15)
	@ApiModelProperty(value = "故障原因")
	private String failureCause;
	/**处理方法*/
	@Excel(name = "处理方法", width = 15)
	@ApiModelProperty(value = "处理方法")
	private String processingMethod;
	/**处理结果*/
	@Excel(name = "处理结果", width = 15, dicCode = "processingResults")
	@Dict(dicCode = "processingResults")
	@ApiModelProperty(value = "处理结果")
	private Integer processingResults;
	/**完成时间*/
	@Excel(name = "完成时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "完成时间")
	private java.util.Date finishTime;
	/**回访内容*/
	@Excel(name = "回访内容", width = 15)
	@ApiModelProperty(value = "回访概述")
	private String overview;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**取消原因*/
	@Excel(name = "取消原因", width = 15)
	@ApiModelProperty(value = "取消原因")
	private java.lang.String cancelReason;
	/**故障图片*/
	@Excel(name = "故障图片", width = 15)
	@ApiModelProperty(value = "图片描述")
	private java.lang.String pictureDescription;
	/**故障视频*/
	@Excel(name = "故障视频", width = 15)
	@ApiModelProperty(value = "故障视频")
	private java.lang.String videoDescription;
	/**回执图片*/
	@Excel(name = "回执图片", width = 15)
	@ApiModelProperty(value = "维护后照片")
	private String afterMaintenance;
	/**备件信息*/
	@Excel(name = "备件信息", width = 15)
	@ApiModelProperty(value = "备件信息")
	private String sparePartsInfo;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String notes;
	/**安装产品*/
	@Excel(name = "安装产品", width = 15, dicCode = "installingEquipment")
	@Dict(dicCode = "installingEquipment")
	@ApiModelProperty(value = "安装设备")
	private java.lang.String installingEquipment;
	/**服务记录*/
	@Excel(name = "服务记录", width = 15)
	@ApiModelProperty(value = "服务内容")
	private java.lang.String serviceContent;
	/**维护前照片*/
	@Excel(name = "维护前照片", width = 15)
	@ApiModelProperty(value = "维护前照片")
	private String beforeMaintenance;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**租户ID*/
//	@Excel(name = "租户ID", width = 15)
	@ApiModelProperty(value = "租户ID")
    private java.lang.Integer tenantId;
	/**工单类型*/
	@Excel(name = "工单类型", width = 15, dicCode = "workOrderType")
    @Dict(dicCode = "workOrderType")
	@ApiModelProperty(value = "工单类型")
    private java.lang.String workOrderType;
	/**工单号*/
//	@Excel(name = "工单号", width = 15)
	@ApiModelProperty(value = "工单号")
    private java.lang.String workOrderNumber;
	/**客户Id*/
//	@Excel(name = "客户名称", width = 15)
	@ApiModelProperty(value = "客户ID")
	private java.lang.String customerId;



	/**上门地址*/
//	@Excel(name = "上门地址", width = 15)
	@ApiModelProperty(value = "上门地址")
    private java.lang.String homeAddress;


	/**服务时间*/
//	@Excel(name = "服务时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "服务时间")
    private java.util.Date serviceTime;

	/**是否超时*/
	@Excel(name = "是否超时", width = 15,replace = {"是_Y","否_N"} )
	@ApiModelProperty(value = "是否超时")
	private java.lang.String isTimeout;
	/**超时时间*/
	@Excel(name = "超时时间", width = 15)
	@ApiModelProperty(value = "超时时间")
	private java.lang.String timeout;

	/**结算状态*/
//	@Excel(name = "结算状态", width = 15, dicCode = "settlementstatus")
    @Dict(dicCode = "settlementstatus")
	@ApiModelProperty(value = "结算状态")
    private java.lang.Integer settlementStatus;
	/**是否免费*/
//	@Excel(name = "是否免费", width = 15, dicCode = "free")
    @Dict(dicCode = "free")
	@ApiModelProperty(value = "是否免费")
    private java.lang.Integer free;
	/**服务类型*/
//	@Excel(name = "服务类型", width = 15, dicCode = "serviceType")
    @Dict(dicCode = "serviceType")
	@ApiModelProperty(value = "服务类型")
    private java.lang.Integer serviceType;
	/**工单来源*/
//	@Excel(name = "工单来源", width = 15, dicCode = "workOrderSource")
    @Dict(dicCode = "workOrderSource")
	@ApiModelProperty(value = "工单来源")
    private java.lang.Integer workOrderSource;


	/**优先级*/
//	@Excel(name = "优先级", width = 15, dicCode = "workOrderPriority")
    @Dict(dicCode = "workOrderPriority")
	@ApiModelProperty(value = "优先级")
    private java.lang.Integer priority;
	/**部门名称*/
//	@Excel(name = "部门名称", width = 15)
	@ApiModelProperty(value = "部门名称")
    private java.lang.String departmentName;
	/**协同人员*/
//	@Excel(name = "协同人员", width = 15)
	@ApiModelProperty(value = "协同人员")
    private java.lang.String collaborativePersonnel;
	/**工单金额*/
//	@Excel(name = "工单金额", width = 15)
	@ApiModelProperty(value = "工单金额")
    private java.math.BigDecimal workOrderAmount;
	/**优惠金额*/
//	@Excel(name = "优惠金额", width = 15)
	@ApiModelProperty(value = "优惠金额")
    private java.math.BigDecimal discountAmount;
	/**支付金额*/
//	@Excel(name = "支付金额", width = 15)
	@ApiModelProperty(value = "支付金额")
    private java.math.BigDecimal paymentAmount;
	/**员工结算金额*/
//	@Excel(name = "员工结算金额", width = 15)
	@ApiModelProperty(value = "员工结算金额")
    private java.math.BigDecimal settlementAmount;
	/**支付方式*/
//	@Excel(name = "支付方式", width = 15)
	@ApiModelProperty(value = "支付方式")
    private java.lang.Integer paymentMethod;
	/**结算日期*/
//	@Excel(name = "结算日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "结算日期")
    private java.util.Date settlementDate;

//	@ExcelCollection(name="维护订单")
	@ApiModelProperty(value = "维护订单")
	private List<MaintainOrders> maintainOrdersList;
//	@ExcelCollection(name="安装订单")
	@ApiModelProperty(value = "安装订单")
	private List<InstallationOrder> installationOrderList;
//	@ExcelCollection(name="工单流程")
	@ApiModelProperty(value = "工单流程")
	private List<WorkOrderProcess> workOrderProcessList;
//	@ExcelCollection(name="签到记录")
	@ApiModelProperty(value = "签到记录")
	private List<AttendanceRecord> attendanceRecordList;

//	@ExcelCollection(name="服务记录")
	@ApiModelProperty(value = "服务记录")
	private List<WorkServiceRecords> workServiceRecordsList;

//	@ExcelCollection(name="工单回执")
	@ApiModelProperty(value = "工单回执")
	private List<WorkOrderReceipt> workOrderReceiptList;

//	@ExcelCollection(name="工单回访")
	@ApiModelProperty(value = "工单回访")
	private List<FollowUp> followUpList;
}
